package huixue.cn.com.rxapp.widget;

import android.content.Context;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.widget.NestedScrollView;
import android.util.AttributeSet;
import android.view.MotionEvent;

import huixue.cn.com.rxapp.util.LogUtils;

/**
 * Created by gongdongyang 2019/8/21
 * Describe:
 */
public class MyNestedScrollView extends NestedScrollView {

    public MyNestedScrollView(@NonNull Context context) {
        super(context);
    }

    public MyNestedScrollView(@NonNull Context context, @Nullable AttributeSet attrs) {
        super(context, attrs);
    }

    public MyNestedScrollView(@NonNull Context context, @Nullable AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
    }

    @Override
    public boolean onTouchEvent(MotionEvent ev) {
        LogUtils.d("MyNestedScrollView","action=="+MotionEvent.actionToString(ev.getAction()));
        return super.onTouchEvent(ev);
    }
}
